<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Plan/index')}">生产计划</a></li>
        <li><a href="{:U('Plan/add')}">新增计划</a></li>
    </ul>
    <form class="well form-search" method="post" action="#">
        关键字
        <input name="keyword" style="width: 200px;" value="" placeholder="请输入编号/名称..." type="text">
        <button class="btn btn-primary">搜索</button>
        <a class="btn btn-danger" href="/produce/index.php?g=Portal&m=AdminPage&a=index">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>计划编号</th>
                <th>计划名称</th>
                <th>车辆参数</th>
                <th>计量单位</th>
                <th>开始日期</th>
                <th>计划完成日期</th>
                <th>计划数量</th>
                <th>当前完成数量</th>
                <th>完成比例</th>
                <th>剩余数量</th>
                <th>状态</th>
                <th>审核人</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>A1111</td>
                <td>凯迪拉克项目组装计划</td>
                <td>长：5131mm，宽：1852mm，高：1501mm，轴距：2837mm</td>
                <td>辆</td>
                <td>2017-03-01</td>
                <td>2017-03-03</td>
                <td>3</td>
                <td>2</td>
                <td>66.6%</td>
                <td>1</td>
                <td><span class="label label-success">已审核</span></td>
                <td>张三</td>
                <td>
                    <a href="{:U('Plan/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                </td>
            </tr>
            <tr>
                <td>1</td>
                <td>A1111</td>
                <td>玛莎拉蒂项目组装计划</td>
                <td>长：5131mm，宽：1852mm，高：1501mm，轴距：2837mm</td>
                <td>辆</td>
                <td>2017-03-01</td>
                <td>2017-03-03</td>
                <td>3</td>
                <td>0</td>
                <td>0%</td>
                <td>0</td>
                <td><span class="label label-warning">未审核</span></td>
                <td>王五</td>
                <td>
                    <a href="{:U('Plan/review',array('id'=>$vo['id']))}">审核</a>
                    <a href="{:U('Plan/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                </td>
            </tr>
            <foreach name="list" item="vo">
                <tr>
                    <td>1</td>
                    <td>A1111</td>
                    <td>安装部</td>
                    <td>安装轮胎</td>
                    <td>安装轮胎咋样咋样那噶</td>
                    <td>
                        <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">编辑</a>
                        <a href="{:U('Plan/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">删除</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js?"></script>
</body>
</html>